package com.authine.cloudpivot.web.api.dao;

import com.authine.cloudpivot.web.Utils.MyMapper;
import com.authine.cloudpivot.web.api.vo.ExecutiveDetails;
import com.authine.cloudpivot.web.api.vo.ProjectTeam;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.Date;
import java.util.List;

@Repository
public interface ExecutiveDetailsMapper extends MyMapper<ExecutiveDetails> {

    List<ExecutiveDetails> getProject(@Param("subjectName") String subjectName,@Param("role") String role);

    void insertProject(@Param("projectTeamId")String projectTeamId,@Param("name")String name ,@Param("creater")String creater,@Param("owner")String owner,@Param("createdDeptId")String createdDeptId,@Param("ownerDeptId")String ownerDeptId,@Param("peojectNo")String peojectNo ,@Param("id")String id, @Param("subjectName")String subjectName,@Param("person")String person, @Param("role")String role, @Param("startTime")Date startTime, @Param("endTime")Date endTime,@Param("creaerTime")Date creaerTime);


}